﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Liger.Web.UI
{
    public class GridGroupingSettings
    {
        public bool Enabled
        {
            get
            {
                return !string.IsNullOrEmpty(GroupColumnName);
            } 
        }


        /// <summary>
        /// 分组列名
        /// </summary>
        public string GroupColumnName
        {
            get;
            set;
        }
        /// <summary>
        /// 分组列名
        /// </summary>
        public string GroupColumnDisplay
        {
            get;
            set;
        }
    }
}
